package com.todo.pro.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 计划图片附件
 * </p>
 *
 * @author ZhongXia
 * @since 2018-08-30
 */
@TableName("td_plan_picture")
public class PlanPicture implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private Long id;
    /**
     * 用户ID
     */
	@TableField("user_id")
	private Long userId;
    /**
     * 计划ID
     */
	@TableField("plan_id")
	private Long planId;
    /**
     * 图片URL
     */
	@TableField("pic_url")
	private String picUrl;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getPlanId() {
		return planId;
	}

	public void setPlanId(Long planId) {
		this.planId = planId;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	@Override
	public String toString() {
		return "PlanPicture{" +
			", id=" + id +
			", userId=" + userId +
			", planId=" + planId +
			", picUrl=" + picUrl +
			"}";
	}
}
